home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 10
/
AACD 10.iso
/
AACD
/
Magazine
/
Morphos
/
GCC
/
ppc-amigaos
/
include
/
powerup
/
ppcinline
/
amipx.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-02-28
|
2KB
|
43 lines
/* Automatically generated header! Do not edit! */
#ifndef _PPCINLINE_AMIPX_LIBRARY_H
#define _PPCINLINE_AMIPX_LIBRARY_H
#ifndef __PPCINLINE_MACROS_H
#include <powerup/ppcinline/macros.h>
#endif /* !__PPCINLINE_MACROS_H */
#ifndef AMIPX_LIBRARY_BASE_NAME
#define AMIPX_LIBRARY_BASE_NAME AMIPX_Library
#endif /* !AMIPX_LIBRARY_BASE_NAME */
#define AMIPX_CloseSocket(socknum) \
LP1NR(0x24, AMIPX_CloseSocket, UWORD, socknum, d0, \
, AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
#define AMIPX_GetLocalAddr(addrspace) \
LP1NR(0x36, AMIPX_GetLocalAddr, UBYTE, addrspace, a0, \
, AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
#define AMIPX_GetLocalTarget(address, localtarget) \
LP2(0x42, WORD, AMIPX_GetLocalTarget, UBYTE, address, a0, UBYTE, localtarget, a1, \
, AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
#define AMIPX_ListenForPacket(ecb) \
LP1(0x2a, WORD, AMIPX_ListenForPacket, struct AMIPX_ECB *, ecb, a0, \
, AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
#define AMIPX_OpenSocket(socknum) \
LP1(0x1e, WORD, AMIPX_OpenSocket, UWORD, socknum, d0, \
, AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
#define AMIPX_RelinquishControl() \
LP0NR(0x3c, AMIPX_RelinquishControl, \
, AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
#define AMIPX_SendPacket(ecb) \
LP1(0x30, WORD, AMIPX_SendPacket, struct AMIPX_ECB *, ecb, a0, \
, AMIPX_LIBRARY_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
#endif /* !_PPCINLINE_AMIPX_LIBRARY_H */